<div class="app-body" ng-class="{loading: loading}">
        <!-- <div ng-show="loading" class="app-content-loading">
          <i class="fa fa-spinner fa-spin loading-spinner"></i>
        </div> -->
        
        <div class="app-content">
<script class="ng-scope">
$(".dropdowncentermenu").css("display", "none");
$(".dropdowncentermenu2").css("display", "none");
<?php if($settled==true){?>
$("#maintitle").html ("已结明细 "); 
<?php }else{?>
$("#maintitle").html ("未结明细 "); 

<?php }?>
$(".navbar-absolute-bottom").css ("display" , "none");
$(".infopanel").css ("display" , "none");
$(".navbar-brand-center").css ("margin-left" , "0px");
$(document).on('change', '.pageNum', function(e) {
  window.location.href = 'index#/bets/'+$('.pageNum').val();
});
checkmargin (); 
</script>
<style class="ng-scope">.has-navbar-top .app-body { padding-top: 72px; }
.wrap-bets{padding:10px;}
.wrap-bets table{background-color: #ddd; border-collapse: separate; border-spacing: 1px;}
.wrap-bets table td{line-height: 25px; background-color: #fff; padding: 5px}
.wrap-bets .tit, .wrap-bets .tic{color: #000; text-align: center; background-color: #e9e9e9}
.wrap-bets .tit{font-weight: bold}
.wrap-bets .tic td{background-color: #f6f6f6; padding-top:10px; padding-bottom:10px; color:#000; font-size:20px;}
.wrap-bets .list{text-align: center}
.wrap-bets .list:hover td{background-color: #ffffa2}
.wrap-bets .list{text-align: center}
.wrap-bets .list:hover td{background-color: #ffffa2}
.wrap-bets .bg{background-color: #f6f6f6}
.wrap-bets .mt10{margin-top: 10px}
.wrap-bets .c_blue{color: #0000ff}
.wrap-bets .c_red{color: red}
.wrap-bets .c_green{color: green}
.wrap-bets .c_gray{color: #999}
.wrap-bets .f_12{font-size:18px;}
.wrap-bets .f_b{font-weight: bold}

.bets-box{color:#000; padding:20px 10px;}
.bets-box ul,.bets-box h3,.bets-box p{padding:0; margin:0;}
.bets-box ul{list-style:none;}
.bets-box li{border:1px solid #ccc;}
.bets-box li+li{margin-top:15px;}
.bets-box h3{font-weight:normal; font-size:18px;}
.bets-box .bb-head{height:40px; line-height:40px; background-color:#eee; padding:0 5px; border-bottom:1px solid #ccc;}
.bets-box .bb-head .bb-danh{float:left;}
.bets-box .bb-head time{color:#999; float:right;}
.bets-box .bb-body{padding:10px 5px; position:relative;}
.bets-box .bb-body .bb-caiz{font-size:20px; padding-bottom:15px;}
.bets-box .bb-body .bb-qis{padding-bottom:10px; color:green;}
.bets-box .bb-body .bb-wanf{}
.bets-box .bb-foot{display:none;}
.bets-box .bb-bold{font-weight:bold}
.bets-box .bb-blue{color:#00f;}
.bets-box .bb-red{color:red;}
.bets-box .bb-green{color:green;}
.bets-box .bb-gray{color:#999;}
.bets-box .bb-qian{position:absolute; top:10px; right:5px; font-size:18px; text-align:right;}
.bets-box .bb-qian .bb-tuis{color:#999;}
.bets-box .bb-qian .bb-key{padding-top:15px;}
.bets-box .bb-qian .bb-key strong{font-size:20px; color:#00f;}
</style>
<div class="scrollable backgroundcolorlightpink ng-scope">
    <div class="scrollable-content overthrow">
        <div class="container-report cnsmall2"> <!--container-->
           <?php if(empty($list)){?>
		   <div style="text-align:center">
		暂无数据!
		</div>

<?php }else{?>
            <div class="bets-box">
              <ul>
			  <foreach name="list" item="vo">
                <li>
                  <div class="bb-head">
                    <div class="bb-danh">注单号：{$vo.order_sn}</div>
                    <time><?php echo date('Y-m-d H:i:s',$vo['add_time'])?></time>
                  </div>
                  <div class="bb-body">
                    <h3 class="bb-caiz">{$vo.c_name}<!-- ({$vo.pan}盘) --></h3>
                    <p class="bb-qis">第 {$vo.c_no} 期</p>
                    <p class="bb-wanf"><span class="bb-blue">{$vo.wanfa}@</span><span class="bb-red bb-bold">{$vo.odds}</span></p>
                    <div class="bb-qian">
                      <div class="bb-xiaz">下注：{$vo.money}</div>
                       <div class="bb-tuis">&nbsp;</div>
                        <div class="bb-tuis">&nbsp;</div>
					  <if condition="$vo.is_winning eq 2">
					   <div class="bb-key">返水：{$vo.rebate}</div>
					  <else />
                       <div class="bb-key">赢：<strong><?php echo $vo['win']?></strong></div>
					  </if>
                    
                    </div>
                  </div>
                </li>
             </foreach>
              </ul>
            </div>
            
          <div class="row graylightbg borderbtmred darkred">
            <div class="row darkredbg white cnbig">
              <div class="padding20 clearfix marginleft20">
                  <table width="377" border="0" cellpadding="10" class="reporttbl2">
                      <tbody>
                      <!--   <tr>
                          <td width="176" class="textright">注数 : </td>
                          <td width="155">0</td>
                        </tr> -->
                        <tr>
                          <td width="176" class="textright">下注金额 (计) : </td>
                          <td width="155"><?php echo $sum_money?></td>
                        </tr>
                        <tr>
                          <td class="textright">结果 (总计) : </td>
                          <td><span class="fontbold"><?php echo $sum_win?></span></td>
                        </tr>
                      </tbody>
                    </table>
                </div>
            </div>
          </div>
        
		</div><!--container-->
		<div class="page_info">
		
		<?php echo $page?>
		</div>

<?php }?>

      </div>
    </div>

        </div>
      </div>